package com.itheima.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.itheima.pojo.Dept;

import java.util.List;

public interface DeptService extends IService<Dept> {
    //查询部们
    public abstract List<Dept> selectDepts();
    //根据ID删除部门
    public abstract void deleteById(Integer id);

    //添加部门
    public abstract void insertById(Dept dept);
    //查询回访
   public abstract Dept getById(Integer id);

   public abstract  void updateDept(Dept dept);
}
